//
//  UIImage+Scale.h
//  Femina
//
//  Created by jishen on 4/11/11.
//  Copyright 2011 SmilingMobile. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface UIImage (scale)

-(UIImage*)scaleToSize:(CGSize)size;

- (UIImage *)imageByCropping:(CGRect)rect;

/*
 * it automatically tranform the image to a up orientation
 */
- (UIImage *) autoCorrectOrientaion;

@end
